# 判断年份是否为闰年

if __name__ == "__main__":
    year = int(input("请输入一个年份："))
    if year % 400 == 0:
        print("%d是闰年" % year)
    elif year % 4 == 0 and year % 100 != 0:
        print("%d是闰年" % year)
    else:
        print("%d不是闰年" % year)
